﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Gallery.aspx.cs" Inherits="Photography.Admin.AddGallery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="1">
        <tr>
            <td colspan="2">
                <%if (string.IsNullOrEmpty(Request["GalleryID"]))
                  {%>Add New Gallery<%}
                  else
                  { %>Edit Gellery<%} %>
            </td>
        </tr>
        <tr>
            <td>
                Name
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtName" Width="326px" />
            </td>
        </tr>
        <tr>
            <td>
                Description
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtDescription" Width="326px" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button runat="server" ID="btnSave" Text="Add Gallery" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

